package com.boot.core;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @author 霜寒 <1621856595@qq.com>
 * @description test application
 * @date 2023/3/8 21:38
 **/

@Slf4j
@SpringBootApplication
public class App {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(App.class, args);
        log.info("Log Path {}", context.getEnvironment().getProperty("logging.file.path", String.class));
    }

}

